<div class="head-tool">
<div class="main-title">        
    <span><?php echo CHtml::link($data->title, Yii::app()->createUrl('site/supportDetail', array('id'=>$data->id))) ?></span> 
</div>
</div>
<br>
<div class="page-content">
    <span><?php echo date('d/m/Y', $data->createTime) ?></span>
    <div class="s-content">
      <?php if($data->avatar): ?>
        <img class="thumb" src="<?php echo (Yii::app()->baseUrl . '/' . $data->avatar->url) ?>" />        
        <?php endif ?>        
        <div class="s-item-content">
            <?php echo ($data->content) ?>
        </div>
    </div>
</div>


    